package com.whkjdx.examtool.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

/**
 * @Author: xucong
 * @Date: 18:59 2022/1/31
 * @Description:
 * @Version v1.0
 */
@Data
@Document(indexName = "question",replicas = 0,shards = 1)
public class QuestionV1 {

    @Id
    private String id;

    private String title;

    private String stem;

    private String answer;

    private String answerMode;

    private List<Option> optionList;
}
